package com.yan.interview.registry.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class InterviewRegistryController {

	@RequestMapping(value = {"/", "/index"})
	public String index(){
		
		return "interviewRegistryMain";
	}
	
//	@RequestMapping("/index")
//	public ModelAndView index2() throws Exception {
//		ModelAndView mav = new ModelAndView();
//		mav.setViewName("interviewRegistryMain");
//		return mav;
//	}
}
